package com.CGFrame.struts.POJOs;

import java.util.HashSet;
import java.util.Set;

/**
 * Materialgroup entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Materialgroup implements java.io.Serializable {

	// Fields

	private Integer materialGroupId;
	private Materialgroup materialgroup;
	private String materialGroupName;
	private Set materials = new HashSet(0);
	private Set materialgroups = new HashSet(0);

	// Constructors

	/** default constructor */
	public Materialgroup() {
	}

	/** minimal constructor */
	public Materialgroup(String materialGroupName) {
		this.materialGroupName = materialGroupName;
	}

	/** full constructor */
	public Materialgroup(Materialgroup materialgroup, String materialGroupName,
			Set materials, Set materialgroups) {
		this.materialgroup = materialgroup;
		this.materialGroupName = materialGroupName;
		this.materials = materials;
		this.materialgroups = materialgroups;
	}

	// Property accessors

	public Integer getMaterialGroupId() {
		return this.materialGroupId;
	}

	public void setMaterialGroupId(Integer materialGroupId) {
		this.materialGroupId = materialGroupId;
	}

	public Materialgroup getMaterialgroup() {
		return this.materialgroup;
	}

	public void setMaterialgroup(Materialgroup materialgroup) {
		this.materialgroup = materialgroup;
	}

	public String getMaterialGroupName() {
		return this.materialGroupName;
	}

	public void setMaterialGroupName(String materialGroupName) {
		this.materialGroupName = materialGroupName;
	}

	public Set getMaterials() {
		return this.materials;
	}

	public void setMaterials(Set materials) {
		this.materials = materials;
	}

	public Set getMaterialgroups() {
		return this.materialgroups;
	}

	public void setMaterialgroups(Set materialgroups) {
		this.materialgroups = materialgroups;
	}

}